package org.example.Util;

import java.util.HashSet;
import java.util.List;

public class hashSet<T> extends HashSet<T> {

    public hashSet(List<T> judgeResults) {
        super.addAll(judgeResults);
    }

    @Override
    public boolean add(T t) {
        remove(t);
        return super.add(t);
    }
}
